#ifndef SHADERL_H
#define SHADERL_H
#include "Includes.h"

struct ShaderInfo
{
	GLuint program;

	GLuint position;
	GLuint normal;
	GLuint color;
	GLuint texcoord;

	GLuint texture;

	GLuint world;
	GLuint view;
	GLuint proj;

	GLuint constants[10];
};
class ShaderLoader
{
public:
	GLuint loadShader(GLenum shaderType, const char* pSource);
	GLuint loadShader(GLenum shaderType, std::ifstream& file);
	GLuint createProgram(GLuint vertexShader, GLuint fragmentShader);
};

#endif
